package com.xidata.dict.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


@TableName("xidata_code_dict")
@Data
public class CodeDict {
    public CodeDict() {
    }

    public CodeDict(String codeType, String code, String language, String text) {
        this.codeType = codeType;
        this.code = code;
        this.language = language;
        this.text = text;
    }


    /**
     * id
     */
    @TableId("id")
    private Long id;

    /**
     * code type
     */
    @TableField("code_type")
    private String codeType;

    /**
     * code
     */
    @TableField("code")
    private String code;

    /**
     * 语言
     */
    @TableField("language")
    private String language;

    /**
     * 文本
     */
    @TableField("text")
    private String text;


}
